<?php $view->extend('template', 'content', array('title' => $realm->name)); ?>
		<div class="col c6">
			<h2>Characters online</h2>
			<?php if ($onlineChars): ?>
			<?php echo $view->import('helpers/chartablerow', array('characters' => $onlineChars,'header' => 'Online characters', 'summary' => 'Online users on '.$realm->name))?>
			<?php else: ?>
			<div class="message warning">
			<p>There are no users online at this moment.</p>
			</div>
			<?php endif;?>
		</div>

		<div class="col c6">
		

		<h2>Statistics</h2>

			<table class="nice" cellspacing="0" summary="Server statistics">
			<caption>Server statistics</caption>
			<tr>
				<th scope="col" abbr="Stat" class="nobg">Stat</th>
				<th scope="col" abbr="Value">Value</th>
			</tr>			
			<tr>
				<td scope="row" class="specalt"><label class="tooltip" title="The uptime of our server since last reboot.">Uptime</label></td>
				<td>
				<?php if ($realm->getUptime() === null): ?>
					Could not generate statistics at this time.
				<?php elseif(!$realm->getService()->isUp()):?>
					Server is currently down
				<?php else: ?>
					<?php echo $realm->getUptime(); ?>
				<?php endif;?>
		
				</td>
			</tr>
			

			<tr>
				<td><label class="tooltip" title="Realmlis.wtf configuration settings for the WoW client.">realmlist.wtf</label></td>
				<td>set realmlist <?php echo $realm->address?></td>
			</tr>
			
			
			</table>		
		
				
		
		
		<h2>Top 10 PVP</h2>
		
			<?php if ($bestPvPers): ?>
			
			<?php echo $view->import('helpers/chartablerow', array(
			'characters' => $onlineChars,
			'header' => 'Top 10 PVP',
			'summary' => 'Top 10 pvp players on '. $realm->name)
			)?>
			
			<?php else: ?>
			<div class="message info">
			<p>None yet! Be the first to get on the top list!</p>
			</div>
			<?php endif;?>		
		


		
		